package com.student.user.dto;

import lombok.Data;

/**
 * 登录响应DTO
 * 
 * @author student
 * @date 2025
 */
@Data
public class LoginResponse {
    
    private String token;
    private String username;
    private String realName;
    private String role;
    private String relatedId;
    private String message;
    
    public LoginResponse() {}
    
    public LoginResponse(String token, String username, String realName, String role, String relatedId) {
        this.token = token;
        this.username = username;
        this.realName = realName;
        this.role = role;
        this.relatedId = relatedId;
        this.message = "登录成功";
    }
}
